package com.gpzx.zx.module.mine.ui.activity;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;

import com.just.agentweb.AgentWeb;
import com.wkq.base.frame.activity.MvpBindingActivity;
import com.wu.common.R;
import com.wu.common.databinding.ActivityLogoutAccountBinding;
import com.gpzx.zx.module.mine.frame.presenter.LogoutAccountPresenter;
import com.gpzx.zx.module.mine.frame.view.LogoutAccountView;


/**
 * 作者: 吴奎庆
 * <p>
 * 时间: 2019/3/22
 * <p>
 * 简介: App注销页面
 */
public class LogoutAccountActivity extends MvpBindingActivity<LogoutAccountView, LogoutAccountPresenter, ActivityLogoutAccountBinding> {
   public AgentWeb mAgentWeb = null;
    public static void startLogoutActivity(Context context) {
        Intent intent = new Intent(context, LogoutAccountActivity.class);
        intent.putExtra("action", 1001);
        context.startActivity(intent);
    }

    @Override
    protected int getLayoutId() {
        return R.layout.activity_logout_account;
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        if (getMvpView()!=null)getMvpView().initView();
    }

    @Override
    public void onBackPressed() {
        finish();
    }
}
